import { reactive, ref } from "vue";

export default function InitHook() {
  const formState = reactive<Partial<{ name: string; dataScope: string }>>({
    name: undefined,
    dataScope: undefined
  });
  const formDataRef = ref<any>(null);
  return {
    formState,
    formDataRef
  };
}
